﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WUCProjeto.ascx.cs"
    Inherits="s2b.ControleDesenvolvimentoProjetos.UserControls.WUCProjeto" %>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <style type="text/css">
        .style1
        {
            width: 146px;
        }
        .style2
        {
            width: 145px;
        }
    </style>

            <table width="100%">
                <tr>
                    <td class="style1">
                        Cliente
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlCliente" runat="server">
                        </asp:DropDownList>
                        <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        <asp:RequiredFieldValidator ID="rfvCleinte" runat="server" ControlToValidate="ddlCliente"
                            ForeColor="Red">Campo Obrigatório</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        Projeto
                    </td>
                    <td>
                        <asp:TextBox ID="txtNomeProjeto" runat="server"></asp:TextBox>
                        <asp:Label ID="Label2" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        <asp:RequiredFieldValidator ID="rdfProjeto" runat="server" ControlToValidate="txtNomeProjeto"
                            ForeColor="Red">Campo Obrigatório</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        Descrição Projeto
                    </td>
                    <td>
                        <asp:TextBox ID="txtDescProjeto" runat="server" TextMode="MultiLine"></asp:TextBox>
                        <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        <asp:RequiredFieldValidator ID="rdfDescProjeto" runat="server" ControlToValidate="txtDescProjeto"
                            ForeColor="Red">Campo Obrigatório</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        Status
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlStatus" runat="server">
                        </asp:DropDownList>
                        <asp:Label ID="Label4" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        <asp:RequiredFieldValidator ID="edfStatus" runat="server" ControlToValidate="ddlStatus"
                            ForeColor="Red">Campo Obrigatório</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                    <asp:UpdatePanel ID="uPnlProjeto" runat="server">
    <ContentTemplate>
        <asp:Panel ID="pnlProjeto" runat="server">
                        <table width="100%">
                            <tr>
                                <td class="style2">
                                    Inicio
                                </td>
                                <td>
                                    <asp:TextBox ID="txtDtInicio" runat="server" Enabled="False"></asp:TextBox>
                                    <asp:ImageButton ID="imgBtnCalendarInicio" runat="server" ImageUrl="~/Util/Imagens/calendar.png"
                                        OnClick="imgBtnCalendarInicio_Click" Style="text-align: left" CausesValidation="False" />
                                    <asp:Label ID="Label5" runat="server" ForeColor="Red" Text="*"></asp:Label>
                                    <asp:RequiredFieldValidator ID="rdfDataInicial" runat="server" ControlToValidate="txtDtInicio"
                                        ForeColor="Red">Campo Obrigatório</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                </td>
                                <td>
                                    <asp:Calendar ID="calendarInicio" runat="server" Visible="false" OnSelectionChanged="calendarInicio_SelectionChanged">
                                    </asp:Calendar>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    Fim
                                </td>
                                <td>
                                    <asp:TextBox ID="txtDtFim" runat="server" Enabled="False"></asp:TextBox>
                                    <asp:ImageButton ID="imgBtnCalendarFim" runat="server" ImageUrl="~/Util/Imagens/calendar.png"
                                        OnClick="imgBtnCalendarFim_Click" CausesValidation="False" />
                                    <asp:Label ID="Label6" runat="server" ForeColor="Red" Text="*"></asp:Label>
                                    <asp:RequiredFieldValidator ID="rdfDataFim" runat="server" ControlToValidate="txtDtFim"
                                        ForeColor="Red">Campo Obrigatório</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                </td>
                                <td>
                                    <asp:Calendar ID="calendarFim" runat="server" Visible="false" OnSelectionChanged="calendarFim_SelectionChanged">
                                    </asp:Calendar>
                                </td>
                            </tr>
                        </table>
                           </asp:Panel>
    </ContentTemplate>
</asp:UpdatePanel>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        Carga Horaria
                    </td>
                    <td>
                        <asp:TextBox ID="txtCargaHoraria" runat="server"></asp:TextBox>
                        <asp:Label ID="Label7" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        <asp:RequiredFieldValidator ID="rdfCargaHor" runat="server" ControlToValidate="txtCargaHoraria"
                            ForeColor="Red">Campo Obrigatório</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Button ID="btnProjeto" runat="server" Text="Projeto" OnClick="btnProjeto_Click" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Label ID="lblMsg" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>

